These scripts all deal with JavaScript Password Protection scripts. They are an elementary attempt to protect a site and should NOT be used to protect Top Secret information. They just keep the amateurs out. Pros can infiltrate such sites with these forms of protection. But, for free, they do a good job. They are very difficult to write - just look at the code.
Title: ASCII Encryption
Contributor: David Salsinha (david.salsinha@popsi.pt)
Details: 1.83 KB * Uploaded August 31 2000
Description: (Internet Explorer Only) A very simple encryption method that uses random values for each character. Interestingly, you can encrypt the same string as many times as you want and the result will always be different. Best used with short strings.
[ Get Source Code ]
Title: Character Encoder
Contributor: Mike McGrath (mike_mcgrath@lineone.net)
Contributor URL: http://website.lineone.net/~mike_mcgrath/
Details: 1.86 KB * Uploaded November 24 1999
Description: Encrypts a string by converting each character to it's ASCII key code. Supports two-way encryption - from a string to the numeric code, or from the numeric code back to the string. You can, for example, send the encrypted code to a friend and have them decode it with this script. Lots more uses, use your imagination!
[ Get Source Code ]
Title: Cookie Protection
Details: 5.19 KB * Uploaded August 13 1997
Description:You can use a basic cookie script to keep visitors (that don't have the cookie on their system) from viewing certain parts of your site (kind of.... There are always ways around it). The cookie is placed when the password provided is correct. Then, when they are forwarded to the password protected page, the cookie allows them to stay. Those without the cookie are sent back.
[ Get Source Code ]
Title: Gatekeeper
Details: 2.97 KB * Uploaded August 13 1997
Description: Here is the best password protection script I have come across. It is also definitely the most user friendly. Try it out! (Note: The password is the filename without the .html ending.) This password for this example is gatekeeper-in
[ Get Source Code ]
Title: Login Coder
Contributor: Dion
Contributor URL: http://www.iinet.net.au/~biab/
Details: 6.50 KB * Uploaded May 29 1998
Description: This is undoubtedly the best password protection JavaScript you'll ever find. Besides supporting multiple users, multiple passwords, and even multiple destination pages (after they successfully login), this script is presented in a very easy-to-use interface that you're sure to love! We *wish* we wrote this script, it's that good! (Note: Questions on this script should be directed to the author.)
[ Get Source Code ]
Title: Multiple Users (Login Table)
Details: 1.60 KB * Uploaded May 15 1998
Description: Rather not have one password for access the Members-Only section of your site? Well, along comes this little JavaScript gem. You can set up a separate username and password for as many members as you want, and even give each a different page to go to after logging in!
[ Get Source Code ]
Title: Multiple Users (Prompt)
Details: 1.29 KB * Uploaded May 15 1998
Description: This JavaScript is just like the previous Multiple Users one, but doesn't use a table interface to login. Instead, after clicking the Login! button, the script will ask them for their username and password, and then perform the password-protection. Very neat!
[ Get Source Code ]
Title: Password Generator
Contributor: ataxx@visto.com (ataxx@visto.com)
Details: 3.49 KB * Uploaded October 27 2000
Description: Generate a random password with the ability to include special characters and password restrictions.
[ Get Source Code ]
Title: Password Pro
Contributor: Lefteris Haritou (lef@writeme.com)
Contributor URL: http://www.geocities.com/~lef
Details: 2.55 KB * Uploaded October 26 1997
Description: This script uses a different approach to Password Protection. It still uses the password as the actual page, but it uses an encryption method that encrypts and checks the password. So if you fail to enter it correct after 3 times you go to a specific page (specified by the webmaster) and you don't get the annoying 404 page not found message as in other scripts. The password is password
[ Get Source Code ]
Title: Password Prompt
Details: 0.58 KB * Uploaded August 13 1997
Description: If a visitor wants to go a password protected page, they must first enter the correct password on the page with this script. This script will just take you them to [password entered].html This is a very good script if JavaScript is enabled and as long as you have an index.html file in your directory. As an added bonus, it's only 8 lines! The password is the protected filename without the .html ending.
[ Get Source Code ]
Title: Text Encryption
Contributor: Tomislav Sereg (tsereg@net.hr)
Contributor URL: http://www.inet.hr/~tsereg/jse
Details: 8.32 KB * Uploaded August 3 2000
Description: This JavaScript library provides encryption using simple, text-oriented method called column transposition. The idea is to write the plain text in block on the row-first bases. The text is then read column-first. The trick is in that the columns are not read from left to right, but in the order specified by the encryption key. Transliteration is also used.
[ Get Source Code ]
Title: Three Tries
Details: 1.10 KB * Uploaded August 13 1997
Description: If you want to 'protect' a site and don't have CGI access, you can try this JavaScript. Visitors get three tries to enter the correct password then they are refused entry. Note: The password is: password
[ Get Source Code ]
Title: Virgenere Encryption
Contributor: Francisco Ryan Tolmasky (iopossum@mailcity.com)
Contributor URL: http://iopossum.tripod.com
Details: 2.99 KB * Uploaded September 4 2000
Description: A fine example of the classic virgenere script and is nearly impossible to decode, even when using frequency analysis. This script is also entertaining since you can actually see the encryption taking place.
[ Get Source Code ]
Title: XOR Encryption
Contributor: Terry Yuen (kaiser40@yahoo.com)
Details: 3.97 KB * Uploaded August 11 2000
Description: Performs a bitwise XOR (Exclusive Or) on each byte of the data you wish to encrypt using the key you provide. Useful as an additional security precaution when sending sensitive information over the Internet. (However, this method is not foolproof and should not be your only form of security.) The author notes that longer and more random keys increase the strength of the encryption. Neat!
[ Get Source Code ]